<?php

include_once 'Conexion.php';

class Color extends Conexion {

    public function obtenerColores() {
        $this->conectar();

        $sql = "SELECT * FROM color ORDER BY color";

        $sqlResult = $this->ejecutarConsulta($sql);

        $this->desconectar();

        return $sqlResult;
    }
}

?>